import { moduleRequest } from "./axios";

const GET_PAGE_URL = "page-with-url";

const request = moduleRequest(`/biz/resource/`);
export default {
  getPage(params) {
    const obj = {
      current: 1,
      size: 9999,
      ...params,
    };
    return request(GET_PAGE_URL, obj, "get");
  },
};

export interface LinkItem {
  name?: string;
  target?: string;
  bgType?: string;
  bgImage?: string;
  bgColor?: string;
  type?: string;
  origin?: string;
  bgText?: string;
}
